package com.cheetah.start.monitor.apicount.domain;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * sys api计数
 *
 * @author Feel
 * @date 2021/08/29
 */
@Data
@Accessors(chain = true)
@TableName(value = "sys_api_count")
public class SysApiCount {

    /** 主键 */
    @TableId(value = "api_id")
    private Integer apiId;

    /** 接口地址 */
    private String api;

    /** 接口计数 */
    private Integer apiCount;

    /** 日期 */
    private String apiDay;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

}
